package cc.cix.gt.org.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author cix
 */
@Data
@ApiModel(value = "RoleDTO对象", description = "角色")
public class RoleReq {

    @ApiModelProperty("角色 ID")
    private Long id;

    @NotBlank(message = "角色名称不能为空")
    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String remark;

    @ApiModelProperty("菜单 ID 列表")
    private List<Long> menuIds;

}
